﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNETVN.PORTAL.Components.UI;
using ASPNETVN.PORTAL.Modules.FEEDBACK.Components;

namespace ASPNETVN.PORTAL.Moduels.Feedback.Controls
{
    public partial class FeedbackDetail : AddEditItemControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Item item = Item.Load(this.ItemID);
            if (item != null)
            {
                txtFullName.Text = item.FullName;
                txtEmail.Text = item.Email;
                txtAddress.Text = item.Address;
                txtPhone.Text = item.Phone;
                txtBody.Text = item.Body;
            }
        }
    }
}